package com.threads;


import com.threads.runnable.ThreadRunnable;
import com.threads.thread.ExtendsThread;

public class Test {

	
	public static void main(String[] args) {
		
		System.out.println(Thread.currentThread().getName());
		
		ThreadRunnable runnable = new ThreadRunnable();
			
		
		Thread thread = new Thread(runnable); 
		 ExtendsThread extendsThread = new ExtendsThread();
		
		extendsThread.start();
		
		
		thread.start();
		
		
	}
	
	
	
}
